<!DOCTYPE html>
<html>
<head>
  <title>Prapgrog Books Online Store</title>
  <%= csrf_meta_tags %>
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>

<body class='<%= controller.controller_name %>'>
<div id="banner">
  <%=image_tag 'logo.svg',alt: 'The Pragmatic Bookshelf' %>
  <span class="title"><%= @page_title %></span>
</div>
<div id="columns">
  <div id="side">
    <ul>
      <li><a herf="http://baidu.com">Home</a></li>
      <li><a herf="http://baidu.com">FAQ</a></li>
      <li><a herf="http://baidu.com">News</a></li>
      <li><a herf="http://baidu.com">contact</a></li>
    </ul>
  </div>
  <div id="main">
    <%= yield %>
  </div>
</div>
</body>
</html>
